import request from '@/utils/request'
export const getOrderList = function(params) {
  return request({
    url: '/order/list?query=' + params.query + '&page=' + params.page + '&pageSize=' + params.pageSize,
    method: 'get'
  })
}
export const deleteOrderById = function(id) {
  return request({
    url: '/order/delete?order_id=' + id,
    method: 'delete'
  })
}
